package com.cloud.dao;

import com.cloud.model.Garage;
import java.util.List;
import com.github.pagehelper.PageInfo;

import org.apache.ibatis.annotations.Param;

/**
 * Created by util on 2018-4-27.
 */
public interface GarageDao {

    int insertGarage(Garage garage);

    int deleteGarage(Garage garage);
    
    int updateGarage(Garage garage);

    Garage selectGarageById(@Param("id") Integer id);

    List<Garage> selectGarageList(Garage garage);
    
    PageInfo selectGaragePage(@Param("garage") Garage garage, Integer pageNum, Integer pageSize);
}